package com.xdtech.hotel.dao;

import org.springframework.stereotype.Repository;

import com.xdtech.core.orm.hibernate.HibernateDao;
import com.xdtech.hotel.model.Card;

/**
 * 
 * @author max.zheng
 * @create 2015-04-04 11:11:08
 * @since 1.0
 * @see
 */
@Repository
public class CardDao extends HibernateDao<Card, Long>{

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-6-23下午9:43:11
	 * @modified by
	 * @param cardId
	 */
	public void deleteRoomLinkCard(Long cardId) {
		excuteSql("delete from HOTEL_CARD_TO_ROOM where CARD_ID=?", cardId);
	}

}
